package com.appspot.didit.client.statistic;

import java.util.Date;

import com.appspot.didit.client.BasePresenter;
import com.appspot.didit.client.BaseView;
import com.google.gwt.event.dom.client.*;
import com.google.gwt.user.client.ui.HasValue;
import com.rednels.ofcgwt.client.ChartWidget;

public interface StatisticPresenter extends BasePresenter {
	
	interface View extends BaseView {
		HasClickHandlers getImageButtonClickHandlers();
		HasClickHandlers getShowButtonClickHandlers();
		HasClickHandlers[] getRaidoButtons();
		HasValue<Date> getDateFrom();
		HasValue<Date> getDateTo();
		HasValue<String> getTag();
		ChartWidget getChart();
		HasChangeHandlers getDateList();
		HasValue<Boolean> getAllProjects();
		HasValue<Boolean> getTimeRange1();
		HasValue<Boolean> getTimeRange2();
	}	

	View showStatistic();

}